<template>
  <div>
    <ChildSlot>
      <template #header>
        我是header插槽  1
      </template>
      <div>我是插入的main  2</div>
      <template #main>
        我是main插槽  3
      </template>
      <template v-slot="scope">
        {{scope}}
      </template>
    </ChildSlot>
  </div>
</template>

<script>
import ChildSlot from './templat/childSlot.vue'
export default {
  components: {
    ChildSlot
  }

}
</script>

<style>

</style>
